#ifndef ADMIN_H
#define ADMIN_H

#include <QDialog>
#include "ui_admin.h"
class DataFactory;
class admin : public QDialog
{
	Q_OBJECT

public:
	admin(DataFactory *, QWidget *parent = 0);
	~admin();

private:
	Ui::admin ui;
	DataFactory *factory;
private Q_SLOTS:
	void ok();
	void cancel();
};

#endif // ADMIN_H
